package org.water.sys.repository;

import javax.persistence.QueryHint;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.QueryHints;
import org.water.base.repository.BaseRepository;
import org.water.sys.entity.SysGroup;
/**
 * 用户组dao
 * @author qzy
 *
 */
public interface UserGroupDao extends BaseRepository<SysGroup, String> {

	/**
	 * 查询用户组
	 * @param roleName
	 * @param pageRequest
	 * @return
	 */
	public Page<SysGroup> findByGroupNameLike(String userGroupName,Pageable pageRequest);
}
